package com.practice.J2E.constant;

import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;

/**
 * 设备全局常量定义
 *
 * @author: kayn
 * 2024-05-06 11:08
 **/
public class NumGlobalConstant {

    public static final int ZERO = 0;
    public static final int ONE = 1;
    public static final int TWO = 2;
    public static final int THREE = 3;
    public static final int FOUR = 4;
    public static final int FIVE = 5;
    public static final int SIX = 6;
    public static final int SEVEN = 7;
    public static final int EIGHT = 8;
    public static final int NINE = 9;
    public static final int TEN = 10;
    public static final int ELEVEN = 11;
    public static final int TWELVE = 12;
    public static final int THIRTEEN = 13;
    public static final int FOURTEEN = 14;
    public static final int FIFTEEN = 15;
    public static final int SIXTEEN = 16;
    public static final int SEVENTEEN = 17;
    public static final int EIGHTEEN = 18;
    public static final int NINETEEN = 19;
    public static final int TWENTY = 20;

    public static final String ZERO_S = "0";
    public static final String ONE_S = "1";
    public static final String TWO_S = "2";
    public static final String THREE_S = "3";
    public static final String FOUR_S = "4";
    public static final String FIVE_S = "5";
    public static final String SIX_S = "6";
    public static final String SEVEN_S = "7";
    public static final String EIGHT_S = "8";
    public static final String NINE_S = "9";
    public static final String TEN_S = "10";
    public static final String ELEVEN_S = "11";
    public static final String TWELVE_S = "12";
    public static final String THIRTEEN_S = "13";
    public static final String FOURTEEN_S = "14";
    public static final String FIFTEEN_S = "15";
    public static final String SIXTEEN_S = "16";
    public static final String SEVENTEEN_S = "17";
    public static final String EIGHTEEN_S = "18";
    public static final String NINETEEN_S = "19";
    public static final String TWENTY_S = "20";

    public static final Byte ZERO_BYTE = (byte) 0;
    public static final Byte ONE_BYTE = (byte) 1;
    public static final Byte TWO_BYTE = (byte) 2;
    public static final Byte THREE_BYTE = (byte) 3;
    public static final Byte FOUR_BYTE = (byte) 4;
    public static final Byte FIVE_BYTE = (byte) 5;
    public static final Byte SIX_BYTE = (byte) 6;
    public static final Byte SEVEN_BYTE = (byte) 7;
    public static final Byte EIGHT_BYTE = (byte) 8;
    public static final Byte NINE_BYTE = (byte) 9;
    public static final Byte TEN_BYTE = (byte) 10;
    public static final Byte ELEVEN_BYTE = (byte) 11;
    public static final Byte TWELVE_BYTE = (byte) 12;
    public static final Byte THIRTEEN_BYTE = (byte) 13;
    public static final Byte FOURTEEN_BYTE = (byte) 14;
    public static final Byte FIFTEEN_BYTE = (byte) 15;
    public static final Byte SIXTEEN_BYTE = (byte) 16;
    public static final Byte SEVENTEEN_BYTE = (byte) 17;
    public static final Byte EIGHTEEN_BYTE = (byte) 18;
    public static final Byte NINETEEN_BYTE = (byte) 19;
    public static final Byte TWENTY_BYTE = (byte) 20;


    public static final String TRUE_STR = "true";
    public static final String FALSE_STR = "false";


    /**
     * 成功失败常量
     */
    public static final String SUCCESS = "成功";
    public static final String FAIL = "失败";

    public static final HttpHeaders headers = new HttpHeaders();

    static {
        headers.setContentType(MediaType.APPLICATION_JSON);
    }

}
